﻿#region

using System;
using System.Drawing;

#endregion

namespace TvdbLib.Data.Banner
{
    ///<summary>
    ///    Newest addition to the graphical section. Like the name says it has poster
    ///    format (680px x 1000px) and is not smaller than 500 kb
    ///
    ///    More information at http://thetvdb.com/wiki/index.php/Posters
    ///</summary>
    [Serializable]
    public class TvdbPosterBanner : TvdbBannerWithThumb
    {
        #region Fields

        private Point m_resolution;

        #endregion Fields

        #region Constructors

        /// <summary>
        ///     TvdbPosterBanner constructor
        /// </summary>
        /// <param name="_id"> Id of fanart banner </param>
        /// <param name="_lang"> Language for this banner </param>
        /// <param name="_path"> Path of image for this banner </param>
        public TvdbPosterBanner(int _id, String _path, TvdbLanguage _lang)
            : this()
        {
            Id = _id;
            BannerPath = _path;
            Language = _lang;
        }

        /// <summary>
        ///     TvdbPosterBanner constructor
        /// </summary>
        public TvdbPosterBanner()
        {
        }

        #endregion Constructors

        #region Properties

        /// <summary>
        ///     Resolution of the Poster banner
        /// </summary>
        public Point Resolution
        {
            get { return m_resolution; }
            set { m_resolution = value; }
        }

        #endregion Properties
    }
}